home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Info 1994 March
/
Internet Info CD-ROM (Walnut Creek) (March 1994).iso
/
networking
/
ip
/
ka9q
/
MNetsrc.hqx
/
Mac TCP_IP Source v.33
/
standard.h
< prev
next >
Wrap
Text File
|
1988-01-24
|
980b
|
62 lines
/*
standards.h -- standard types and constants used in all DW's programs in Lightspeed C.
*/
/*constants*/
#define true -1
#define false 0
#define emptystring &"\p"
#define chhome ((char) 1)
#define chend ((char) 4)
#define chhelp ((char) 5)
#define chpageup ((char) 11)
#define chpagedown ((char) 12)
#define chdelete ((char) 127)
#define chrightarrow ((char) 29)
#define chleftarrow ((char) 28)
#define chuparrow ((char) 30)
#define chdownarrow ((char) 31)
#define chtab ((char) '\t')
#define infinity 32767
#define lenbigstring 255
#define scrollbarwidth 16
#define sizegrowicon 15 /*it's square, this is the length of each side*/
#define menubarheight 20
#define nil 0L
/*types*/
#define boolean int
#define bigstring Str255
typedef char *ptrchar;
typedef bigstring *ptrstring;
typedef int *ptrint;
/*macros*/
#define sysbeep SysBeep (1) /*this one is driving me absolutely crazy*/
#define mod %
#define div /